package com.jodie.store.service;

import com.jodie.store.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * 用户模块业务层接口
 * @author Jodie
 * @date 2023/2/2-22:54
 */
public interface IUserService {
    void register(User user);
    User login(String username, String password);
    void changePassword(Integer uid, String username, String oldPassword, String newPassword);
    User getByUid(Integer uid);
    void changeInfo(Integer uid, String username, User user);
    void changeAvatar(Integer uid, String avatar, String username);
}
